From: Keir Fraser Date: Thu, 23 Oct 2008 14:38:52 +0000 (+0100) Subject: x86: Enable spinlock debugging earlier during boot. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14054^2~38 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=44ffb080b37aa6245a4ea346cebec3156303a90f;p=xen.git x86: Enable spinlock debugging earlier during boot. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 784a833aca..4bdae0fcd1 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -969,6 +969,7 @@ void __init __start_xen(unsigned long mbi_p) serial_init_postirq(); BUG_ON(!local_irq_is_enabled()); + spin_debug_enable(); for_each_present_cpu ( i ) { @@ -1059,8 +1060,6 @@ void __init __start_xen(unsigned long mbi_p) cmdline) != 0) panic("Could not set up DOM0 guest OS\n"); - spin_debug_enable(); - /* Scrub RAM that is still free and so may go to an unprivileged domain. */ scrub_heap_pages();